package com.csw.ems2MavenAjax.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.csw.ems2MavenAjax.entity.User2;

/**
 * @author 1
 */
@Mapper
public interface User2Dao {

	User2 queryByUsernameAndPassword(String username, String password);

	Integer addUser(User2 user2);

	User2 queryBy(@Param("username") String username);

}
